home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / Examples / Nothing / Include / NothDef.h next >
Encoding:
Text File  |  1995-11-08  |  2.3 KB  |  70 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                NothDef.h
  4. //    Release Version:    $ 1.0d11 $
  5. //
  6. //    Copyright:    © 1993, 1995 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef NOTHDEF_H
  11. #define NOTHDEF_H
  12.  
  13. // Uncomment the following three lines, and define them appropriately!!
  14. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  15. // to be 1.  Otherwise define it to be 0.
  16. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  17. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  18. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  19. // define it to be zero.  Note that if your part is scriptable is must support
  20. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  21.  
  22. #define FW_SUPPORTS_EMBEDDING 0
  23. #define FW_SUPPORTS_EXTENSIONS 0
  24. #define FW_SUPPORTS_SCRIPTING 0
  25.  
  26. #ifndef FW_SUPPORTS_EMBEDDING
  27. #error You must define FW_SUPPORTS_EMBEDDING to be 0 or 1 (immediately above)
  28. #endif
  29.  
  30. #ifndef FW_SUPPORTS_EXTENSIONS
  31. #error You must define FW_SUPPORTS_EXTENSIONS to be 0 or 1 (immediately above)
  32. #endif
  33.  
  34. #ifndef FW_SUPPORTS_SCRIPTING
  35. #error You must define FW_SUPPORTS_SCRIPTING to be 0 or 1 (immediately above)
  36. #endif
  37.  
  38. // Kind
  39. #define kODFNothingKind "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:ODFExamples:Kind:ODFNothing"
  40.  
  41. // Category
  42. #define kODFNothingCategory "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:ODFExamples:Category:ODFNothing"
  43.  
  44. // Class ID
  45. #define kODFNothingEditor "ODFExamples::ODFNothing"
  46.  
  47. // Editor User String
  48. #define kODFNothingEditorUserString "ODFNothing 1.0d11"
  49.  
  50. // Kind User String
  51. #define kODFNothingKindUserString "ODF Nothing Example"
  52.  
  53. // Category User String
  54. #define kODFNothingCategoryUserString "ODF Example"
  55.  
  56. // Nothing OSType
  57. #define kODFNothingOSType 'DFND'
  58.  
  59. // Part Icon ID
  60. #define kPartIconID    128
  61.  
  62. #define kKindCategoryMapId            128
  63. #define kEditorKindMapId            kKindCategoryMapId + 1
  64. #define kEditorUserStringMapId        kEditorKindMapId + 1
  65. #define kKindUserStringMapId        kEditorUserStringMapId + 1
  66. #define kCategoryUserStringMapId    kKindUserStringMapId + 1
  67. #define kOldMacOSTypeMapId            kCategoryUserStringMapId + 1
  68. #endif
  69.  
  70.